package cn.edu.nju.software.zp13.core2.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ ElementType.FIELD, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Attribute{
	/**
	 * return an attributes's key 
	 * @return attributes's key
	 */
	public String name() default "";

	/**
	 * return an attributes's value
	 * @return attributes's value
	 */
	public String value() default "";
}
